package com.v1.video.domain;

import java.io.Serializable;

/**
 * 首页分类推荐视频信息对象
 * @author shenjin
 *
 */
public class HomeCategoryVideoDetailsInfo implements Serializable {

	/**
	 * ":[{"id":1,"videoId":12351187,"title":null,"detail":null,"imageUrl":null,"videoDetail":{"
	 */
	private static final long serialVersionUID = 821381508110101803L;
	
	private long videoId;//视频ID
	private String title;//视频标题
	private String detail;//推荐标题
	private String imgUrl;//视频缩略图
	
	/*现直接使用 
	recommendTitle  作为 推荐视频标题
	recommendDetail 作为 推荐视频详情
	recommendImageUrl 作为 推荐视频图片*/
	private String recommendTitle;
	private String recommendDetail;
	private String recommendImageUrl;
	private UserInfo userInfo; //用户 
	public String getRecommendTitle() {
		return recommendTitle;
	}
	public void setRecommendTitle(String recommendTitle) {
		this.recommendTitle = recommendTitle;
	}
	public String getRecommendDetail() {
		return recommendDetail;
	}
	public void setRecommendDetail(String recommendDetail) {
		this.recommendDetail = recommendDetail;
	}
	public String getRecommendImageUrl() {
		return recommendImageUrl;
	}
	public void setRecommendImageUrl(String recommendImageUrl) {
		this.recommendImageUrl = recommendImageUrl;
	}
	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
	
	/**
	 * 视频ID
	 * @return
	 */
	public long getVideoId() {
		return videoId;
	}
	public void setVideoId(long videoId) {
		this.videoId = videoId;
	}
	/**
	 * 视频标题,如果为空取视频详情的标题，点击进入视频详情页
	 * @return
	 */
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 推荐标题，如果为空取用户名，点用户名进入用户个人空间；如果不为空点击进入视频详情页
	 * @return
	 */
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
}
